package com.maxd.service.helpTask;

import com.maxd.error.Result;
import com.maxd.model.HelpTakeOrder;
import com.maxd.model.HelpTask;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

public interface HelpTakeOrderService {

    Result saveBody(HelpTakeOrder helpTakeOrder);

    HelpTakeOrder selectHelpTakeOrderByHelpTaskId(Long helpTaskId);

    Integer selectCountByHelpTaskIdAndUserId(Long helpTaskId,Long userId);

    HelpTakeOrder selectById(Long helpTakeOrderId);
}
